package com.study.web.service.sysuser.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.study.common.base.dao.BaseDao;
import com.study.common.base.service.BaseServiceImpl;
import com.study.common.exception.BizException;
import com.study.web.dao.sysuser.SysUserDao;
import com.study.web.entity.SysUser;
import com.study.web.service.sysuser.SysUserService;

/**
 * SysUserService.java
 * @author yaojinshan
 * @since 2018年6月11日上午11:08:53
 */
@Service("sysUserService")
public class SysUserServiceImpl extends BaseServiceImpl<SysUser> implements SysUserService{
	@Resource
	private SysUserDao sysUserDao;
	@Override
	protected BaseDao<SysUser> getDao() {
		return sysUserDao;
	}
	public SysUser getSystemUserByExmaple(SysUser sysUser) throws BizException {
		return sysUserDao.getSystemUserByExmaple(sysUser);
	}
	
	public Long batchUpdateSysUserStatus(Map<String, Object> paramMap) {
		return sysUserDao.batchUpdateSysUserStatus(paramMap);
	}

}
